    <section>

      <ul class="breadcrumb">
        <li><a href="<?php echo base_url('index.php/mainController/'); ?>">Home</a> <span class="divider">/</span></li>
        <li><a href="<?php echo base_url('index.php/referenceController/'); ?>">รายชื่อ Permission</a> <span class="divider">/</span></li>
        <li class="active">แก้ไข Permission</li>
      </ul>

      <div class="page-header">
        <h1>แก้ไข Permission</h1>

      </div>

      

      <?php echo form_open('permissionController/update/'.$dataLoad['per_id'],array('class'=>'form-horizontal')); ?>

       <?php
       $err = validation_errors();

       if($err){
        echo '<div class="alert alert-block" > 
          <a class="close" onclick="$(".alert").hide()">×</a>  
          <strong>แจ้งเตือน!</strong> '.$err.'</div>';
       }
       ?>


        <div class="control-group">
          <label class="control-label" for="name">ชื่อ</label>
          <div class="controls">
            <input type="text" name="name" placeholder="ชื่อ" value="<?php echo iconv('TIS-620', 'UTF-8', $dataLoad['per_name']); ?>">
          </div>
        </div>

        <div class="control-group">
          <label class="control-label" for="description">รายละเอียด</label>
          <div class="controls">
            <input type="text" name="description" placeholder="รายละเอียด" value="<?php echo iconv('TIS-620', 'UTF-8', $dataLoad['per_description']); ?>">
          </div>
        </div>

        <div class="control-group">
            <div class="controls">
              <button id="btnEdit" name="btnEdit" type="submit" class="btn btn-primary">แก้ไข</button>
            </div>
          </div>
        
      <?php echo form_close(); ?>

    </section>